package com.ten.course.service;


import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ten.common.core.entity.EduSubject;
import com.ten.common.core.vo.Result;
import com.ten.course.vo.CourseSubjectVo;
import com.ten.course.vo.SubjectChangeStatusIdVo;
import com.ten.course.vo.SubjectInsertVo;

import java.util.List;

/**
 * @author ：张成（3092211427@qq.com）
 * @date ：Created in 2022/12/7 20:17
 * @description：
 * @modified By：
 * @version:
 */
public interface CourseSubjectService extends IService<EduSubject> {
    Result<Page<EduSubject>> findSubject(Integer pageCurrent, Integer pageSize, CourseSubjectVo courseSubjectVo);

    Result changeStatusId(EduSubject eduSubject);

    Result insertSubject(SubjectInsertVo subjectInsertVo);

    Result deleteSubject(EduSubject eduSubject);

    Result updateSubject(EduSubject eduSubject);

    Result<String> findPidById(String pid);

    Result<List<EduSubject>> findSubjectByStatus();

    Result<List<EduSubject>> getAllMenu();

}